package com.meituan.verintreport.db.dto;

import java.math.BigDecimal;
import java.util.Date;

public class EvalsOnFormComponentDto {
    private Integer formComponentKey;

    private Long evalKey;

    private BigDecimal score;

    private Integer reasonId;

    private Integer scoreAnswerId;

    private String scoreTextualValue;

    private String comments;

    private Date creationDate;

    private BigDecimal sumAttainedScores;

    private BigDecimal sumPossibleScores;

    private BigDecimal maxPossibleScore;

    private Integer cttId;

    private Integer scoreId;

    public Integer getFormComponentKey() {
        return formComponentKey;
    }

    public void setFormComponentKey(Integer formComponentKey) {
        this.formComponentKey = formComponentKey;
    }

    public Long getEvalKey() {
        return evalKey;
    }

    public void setEvalKey(Long evalKey) {
        this.evalKey = evalKey;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public Integer getReasonId() {
        return reasonId;
    }

    public void setReasonId(Integer reasonId) {
        this.reasonId = reasonId;
    }

    public Integer getScoreAnswerId() {
        return scoreAnswerId;
    }

    public void setScoreAnswerId(Integer scoreAnswerId) {
        this.scoreAnswerId = scoreAnswerId;
    }

    public String getScoreTextualValue() {
        return scoreTextualValue;
    }

    public void setScoreTextualValue(String scoreTextualValue) {
        this.scoreTextualValue = scoreTextualValue == null ? null : scoreTextualValue.trim();
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments == null ? null : comments.trim();
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public BigDecimal getSumAttainedScores() {
        return sumAttainedScores;
    }

    public void setSumAttainedScores(BigDecimal sumAttainedScores) {
        this.sumAttainedScores = sumAttainedScores;
    }

    public BigDecimal getSumPossibleScores() {
        return sumPossibleScores;
    }

    public void setSumPossibleScores(BigDecimal sumPossibleScores) {
        this.sumPossibleScores = sumPossibleScores;
    }

    public BigDecimal getMaxPossibleScore() {
        return maxPossibleScore;
    }

    public void setMaxPossibleScore(BigDecimal maxPossibleScore) {
        this.maxPossibleScore = maxPossibleScore;
    }

    public Integer getCttId() {
        return cttId;
    }

    public void setCttId(Integer cttId) {
        this.cttId = cttId;
    }

    public Integer getScoreId() {
        return scoreId;
    }

    public void setScoreId(Integer scoreId) {
        this.scoreId = scoreId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", formComponentKey=").append(formComponentKey);
        sb.append(", evalKey=").append(evalKey);
        sb.append(", score=").append(score);
        sb.append(", reasonId=").append(reasonId);
        sb.append(", scoreAnswerId=").append(scoreAnswerId);
        sb.append(", scoreTextualValue=").append(scoreTextualValue);
        sb.append(", comments=").append(comments);
        sb.append(", creationDate=").append(creationDate);
        sb.append(", sumAttainedScores=").append(sumAttainedScores);
        sb.append(", sumPossibleScores=").append(sumPossibleScores);
        sb.append(", maxPossibleScore=").append(maxPossibleScore);
        sb.append(", cttId=").append(cttId);
        sb.append(", scoreId=").append(scoreId);
        sb.append("]");
        return sb.toString();
    }
}